package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author YANG
 * @ClassName: TPurchaserPlaneTicketDetailEntity
 * @Description:
 * @date 2021-04-08
 */
@Data
@ApiModel(description = "航空运输电子客票行程单航班信息")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_PURCHASER_PLANE_TICKET_DETAIL)
public class PlaneTicketDetailEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("关联ID")
    @TableField("link_id")
    private String linkId;

    @ApiModelProperty("出发站")
    @TableField("from_station")
    private String fromStation;

    @ApiModelProperty("到达站")
    @TableField("arrive_station")
    private String arriveStation;

    @ApiModelProperty("航班号")
    @TableField("flight_number")
    private String flightNumber;

    @ApiModelProperty("乘机日期")
    @TableField("flight_date")
    private String flightDate;

    @ApiModelProperty("乘机时间")
    @TableField("flight_time")
    private String flightTime;

    @ApiModelProperty("座位等级")
    @TableField("seat_grade")
    private String seatGrade;

    @ApiModelProperty("承运人")
    @TableField("carrier")
    private String carrier;

    @ApiModelProperty("舱位等级")
    @TableField("class_name")
    private String className;

    @TableField("create_time_str")
    private String createTimeStr;
}